* gtk_style_context_get_state:
* @context: a #GtkStyleContext
*
- * Returns the state used when rendering.
+ * Returns the state used when rendering. This method should
+ * only be used to retrieve the #GtkStateFlags to pass to
+ * #GtkStyleContext methods, like gtk_style_context_get_padding().
+ *
+ * If you need to retrieve the current state of a #GtkWidget you
+ * should look at gtk_widget_get_state_flags().
*
* Returns: the state flags
*
* returned, that is, also based on parent insensitivity, even if
* @widget itself is sensitive.
*
+ * Also note that if you are looking for a way to obtain the
+ * #GtkStateFlags to pass to a #GtkStyleContext method, you
+ * should look at gtk_style_context_get_state().
+ *
* Returns: The state flags for widget
*
* Since: 3.0